<!doctype html>
<html lang=en dir=ltr class="no-js theme-united" xmlns:th="http://www.thymeleaf.org">
<div th:replace="admin/head::head(${title})"></div>

<body class="page page-is-loading page-type-page page-type-home">
    <div th:replace="admin/head::navbar"></div>

    <div class="container-fluid main-container">
        <div class=row>
            <div class=col-md-12>
                <h1 class="page-title">总览</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div>
                    <h2>文章数：<span th:text="${articleCount}" style="color: #ffc402;"></span> 篇</h2>
                </div>
                <hr>
                <div>
                    <h2>总访问：<span th:text="${totalViews}" style="color: #ffc402;"></span> 次</h2>
                </div>
            </div>
            <div class="col-md-6">
                <h2>系统日志：</h2>
                <hr>
                <div style="font-size: 14px;">
                    <th:block th:each="log : ${logs}">
                        <p><span th:text="${commonUtils.fmtdate(log.created)}"></span>
                            ===>
                            <span th:text="${log.content}"></span>
                        </p>
                    </th:block>
                </div>
            </div>
        </div>
    </div>

    <div th:replace="admin/footer::footer"></div>
</body>
</html>